package com.project.biz;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.entity.CmsProductLabel;

import java.util.List;

/**
 * @Description: 商品标签业务层接口类
 * @Author: zhuchi
 * @CreateDate: 2020/10/15 15:10
 * @Version: 1.0
 */
public interface CmsProductLabelBiz extends IService<CmsProductLabel> {

    /**
     * 添加/修改商品标签
     * @param productLabel
     * @param productId
     * @param userId
     * @return
     */
    int updateProductLabel(List<String> productLabel, Long productId, Long userId);

    /**
     * 获取商品标签
     * @param productId
     * @return
     */
    List<String> getProductLabel(Long productId);

}
